<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{.PageTitle}}</title>
    {{if ne .RedirectUrl ""}}
        <meta http-equiv="refresh" content="{{.WaitSecond}};url={{.RedirectUrl}}">{{end}}
</head>

<body>

<div class="container">
    <div class="starter-template">
        {{if .IsSuccess}}
            <h1>:)</h1>
            <p class="lead">{{.Msg}}</p>
        {{else}}
            <h1>:(</h1>
            <p class="lead">{{.Msg}}</p>
        {{end}}
    </div>
</div>
{{if eq .RedirectUrl ""}}
<script>setTimeout(function () {
        history.back(-1);
    }, 3000);</script>{{end}}
</body>
</html>
